
#ifndef __ININT_VARIABLE__
#define __ININT_VARIABLE__
#include "Globals.H"

extern bool CheckImageRotatorDriver();
extern bool CheckMultiInstance();
extern bool GetMultiDisplay();
extern bool SetMultiDisplay(bool bEnable);
extern bool GetVRMState();
extern bool SetVRMState(int nEnableVRM);
extern bool LoadVRM(stVRM *pstVRM);
extern bool SaveVRM(stVRM *pstVRM);
extern bool ReadVRMFile(stVRM *pstVRM, bool *bMultiDisplay);
extern void WriteVRMFile(stVRM *pstVRM, bool *bMultiDisplay);

extern void LoadLCDSize(int *Width,int *Height);
extern int CreateSaveFolder(void);

extern int  LoadInitVariable(TCHAR *pszStorageName
					  ,unsigned int *PlayStatus
					  ,unsigned int *CurentPlayFileIndex
					  ,unsigned int *CurVolume
					  ,double *CurPlayTime
					  ,unsigned int *RepeatMode
					  ,BOOL *bNoRepeat
					  ,unsigned int *DisplayMode
					  ,unsigned int *AutoStart
					  ,double *PlayDuration
					  ,int *ScreenSmallMode
					  ,int *TVOutMode
					  ,int *SupportFiles
					  ,BOOL *bMessageBox
					  ,int *bRandomPlay
					  ,int *bPrintInfo
					  ,int *nSelectedUI
					  ,int *nIntroModeSec
					  ,BOOL *bChromakeyEnable
					  ,int *nRvalue
					  ,int *nGvalue
					  ,int *nBvalue
					  ,TCHAR *szCurrentVolume
					  ,TCHAR *szLastFolder);

extern void SaveInitVariable(TCHAR *pszStorageName
					  ,unsigned int PlayStatus
					  ,unsigned int CurentPlayFileIndex
					  ,unsigned int CurVolume
					  ,double CurPlayTime
					  ,unsigned int RepeatMode
					  ,BOOL bNoRepeat
					  ,unsigned int DisplayMode
					  ,unsigned int AutoStart
					  ,double PlayDuration
					  ,int ScreenSmallMode
					  ,int TVOutMode
					  ,int supportFiles
					  ,BOOL bMessageBox
					  ,int bRandomPlay
					  ,int bPrintInfo
					  ,int nSelectedUI
					  ,int nIntroModeSec
					  ,BOOL bChromakeyEnable
					  ,int nRvalue
					  ,int nGvalue
					  ,int nBvalue
					  ,TCHAR *szCurrentVolume
					  ,TCHAR *szLastFolder);
#endif